package perso.perso.view.admin.user;

import perso.perso.MyAction;
import perso.perso.wsclient.HttpMiddlewareUserWSCall;

public class RemoveUserAction extends MyAction {

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	
	@Override
	public String execute() throws Exception {
		HttpMiddlewareUserWSCall h = new HttpMiddlewareUserWSCall();
		
		Integer id = new Integer(this.httpServletRequest.getParameter("id"));
		
		h.removeUser(id);
		
		return SUCCESS;
	}
}
